package com.ruoyi.flowable;

import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


/*
本地接口访问：http://localhost:9211/swagger-ui/index.html
网关访问： http://localhost:8080/flow/swagger-ui/index.html
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringBootApplication
public class CherryFlowableApplication {

    public static void main(String[] args) {
        SpringApplication.run(CherryFlowableApplication.class, args);
        System.out.println("工作流模块启动成功！" + "\n" +
                "   __.--~~.,-.__\n" +
                "   `~-._.-(`-.__`-.\n" +
                "           \\    `~~`\n" +
                "      .--./ \\\n" +
                "     /#   \\  \\.--.\n" +
                "     \\    /  /#   \\\n" +
                "      '--'   \\    /\n" +
                "              '--'");
    }

}
